<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<html>
<head>
    <title>新增书籍</title>

    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<style>
    body{
        background: aliceblue;
        /*background-image: url("WEB-INF/JSP/mjxy.jpg");*/
    }
    form{
        width: 300px;
    }
    .container{
        position: absolute;
        left: 40%;
        top: 25%;
    }
    .col-md-12{
        width: 130px;
    }
</style>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>新增书籍</small>
                </h1>
            </div>
        </div>
    </div>

    <form action="${pageContext.request.contextPath}/book/addBook" method="post">
        <div class="form-group">
            <label>书籍名称</label>
            <input type="text" name="bookName" class="form-control" required>
        </div>
        <div class="form-group">
            <label>书籍数量</label>
            <input type="text" name="bookCounts" class="form-control" required>
        </div>
        <div class="form-group">
            <label>详细信息</label>
            <input type="text" name="detail" class="form-control" required>
        </div>

        <div class="form-group">
            <input type="submit" value="添加" class="btn btn-success"/>
            <input type="reset" value="重置" class="btn btn-success"/>
            <a href="/book/list" class="btn btn-success">取消</a>
        </div>

    </form>


</div>
</body>
</html>
